package com.api.user.service;

import com.api.core.response.Result;
import com.api.core.service.Service;
import com.api.user.enums.GameEnum;
import com.api.user.model.Game;
import com.api.user.vo.GameVo;

import java.util.Collection;
import java.util.Map;

/**
 * Created by wanghuiwen on 2021/03/18.
 */
public interface GameService extends Service<Game> {
   Result list(String search, String order, Integer page, Integer size);

   Result add(Game game);
   Result deleteGame(Long gameId);

    Map<Long, GameVo> getIdVoMap(Collection<Long> gameIds);

    GameEnum getGameEnumById(Long gameId);
}
